home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Interactive Media Design Review 1999
/
Interactive Media Design Review 1999.iso
/
pc
/
Demos
/
Herois
/
Codigo.Cst
/
00010_Script_FrameFilmes
< prev
next >
Wrap
Text File
|
1999-03-19
|
1KB
|
48 lines
property frameVolta
on exitFrame
go the frame
end
on getBehaivorDescription
return "Pause na saida do frame, chamando #idleSprite para todos sprites durante #idle"
end
on getPropertyDescriptionList
set p_list = [ ¼
#frameVolta: [ #comment: "Frame para onde voltar", ¼
#format: #string, ¼
#default: "" ] ¼
]
return p_list
end
on mouseUp
go the frame + 1
end
on enterFrame
if the frame = marker(0) then
if the movieRate of sprite 1 = 0 then
set the visibility of sprite 2 to true
set the visibility of sprite 1 to false
else
set the visibility of sprite 2 to false
set the visibility of sprite 1 to true
end if
else
global gVisibilidade
repeat with i = 97 to 120
set the visibility of sprite i to getAt(gVisibilidade, i-96)
end repeat
set the visibility of sprite 1 to true
set the visibility of sprite 2 to true
global gDonde, gPronde
set gDonde = 0
set gPronde = 1
go frame frameVolta
end if
end